//
//  Object.h
//  raytrace
//
//  Created by M on 9/11/12.
//  Copyright 2012 __MyCompanyName__. All rights reserved.
//

#include "Material.h"
#include "glm/glm.hpp"


// make this a master class to sphere.class


using namespace glm;


class Sphere
{
    public:
        Sphere();
        Sphere(vec3 pos, float radius);

        float getRadius(){ return _radius; };
        vec3 getPos(){ return _pos; };
        Material* getMaterial() { return m; };
    
    private:
        vec3 _pos;
        float _radius;
        Material *m;  //destroy this pointer in destructor
};